package com.huaxin.device.dto.request;

import com.huaxin.device.dto.enums.validation.ValidDeviceZoneType;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class UpdateDeviceZoneReqDTO {

    /**
     * 区域ID
     */
    @NotBlank(message = "ID不能为空")
    @Schema(description = "区域ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "123e4567-e89b-12d3-a456-426614174000")
    private String id;

    /**
     * 区域名称
     */
    @Schema(description = "区域名称", example = "厨房")
    private String zoneName;

    /**
     * 区域类型（如：电井、家庭房间、公共区域）
     */
    @Schema(description = "区域类型", example = "家庭房间")
    @ValidDeviceZoneType
    private String zoneType;

    /**
     * 描述
     */
    @Schema(description = "描述", example = "主厨房用电区域")
    private String description;
}